/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 6/16/2022
* @Note
*****************************/

#ifndef REVIEW_QUEUE_H
#define REVIEW_QUEUE_H

#include <vector>
#include <iostream>
using std::vector;
using std::ostream;

class Queue {
private:
    vector<int> queue;
    static const int MAX_SIZE = 3;
public:
    Queue() = default;
    void push(int);
    int pop();
    int operator--();
    friend ostream & operator<<(ostream & os, Queue & q);
};

Queue operator+(Queue q, int num);
Queue operator+(int num, Queue q);

#endif //REVIEW_QUEUE_H
